<h2>Server Status</h2>
<ul>
	<li>Current Online: <strong><?php echo $online['now']; ?>/<?php echo $online['max']; ?></strong></li>
	<li>Login-Server: <strong><?php if ( $status['login'] ): ?>Online<?php else: ?>Offline<?php endif; ?></strong></li>
	<li>Char-Server: <strong><?php if ( $status['char'] ): ?>Online<?php else: ?>Offline<?php endif; ?></strong></li>
	<li>Map-Server: <strong><?php if ( $status['map'] ): ?>Online<?php else: ?>Offline<?php endif; ?></strong></li>
	<li>WoE: <strong><?php if ( $status['woe'] ): ?>Enabled<?php else: ?>Disabled<?php endif; ?></strong></li>
	<div id="castle_owner">
		<table border=0px cellspacing=0 cellpadding=5 width=100%><tr align=center bgcolor=ff6600><td><strong> № </strong></td><td><strong> Castle Name </strong></td><td><strong> Master </strong></td></tr>
		<?php if ( $castle_owner['content'] === null ): ?>
			<tr><td> 0</td><td rowspan=2>No guild owns a castle yet.</td></tr>
		<?php else: ?>
			<?php for ( $i = 0; $i < $castle_owner['content_size']; $i++ ): ?>
				<tr><td> <?php echo $i+1; ?></td><td > <?php echo htmlspecialchars_decode($castle_owner['content'][$i]['castle_name']); ?></td><td> <?php echo htmlspecialchars_decode($castle_owner['content'][$i]['name']); ?></td></tr>
			<?php endfor; ?>
		<?php endif; ?>
		</table>
	</div>
</ul>